/*
 * PinMap.h
 *
 * Created: 24/03/2014 04:01:38
 *  Author: Jason
 */ 


#ifndef PINMAP_H_
#define PINMAP_H_

// all pin defines go here
#define floorADC1 1 //    PF1
#define floorADC2 4 //    PB4
#define floorADC3 7 //    PD7
#define floorADC4 6 //    PD6
#define floorADC5 4 //    PF4
#define floorLEDs 7 //    PB7

#define sideADC1  6 //    PB6
#define sideADC2  7 //    PF7
#define sideADC3  6 //    PF6
#define sideADC4  1 //    PF1 //shared with FloorADC1
#define sideADC5  4 //    PF4 //shared with FloorADC5
#define sideADC6  5 //    PF5

// Needs remapping after board is done!!
#define sideLEDs0A 6 //   PE6 // High power front LED
#define sideLEDs0B 6 //   PC6 // std front LED
//#define sideLEDs45     ST2 // diagonal LED - MAY BE WRONG WAY AROUND
//#define sideLEDs90     ST3 // side facing LED - MAY BE WRONG WAY AROUND

//LED and buttons are on the same port
#define OLEDReset 2 // PD2
#define HCI1      3 // PD3
#define HCI2      5 // PD5

#define I2C_Clk    0 //    PD0
#define I2C_Data   1 //    PD1
#define SPI_Clk    1 //    PB1
#define SPI_MISO   3 //    PB3
#define SPI_MOSI   2 //    PB2
#define SPI_SS     0 //    PB0


#endif /* PINMAP_H_ */